/*
 * Copyright (c) 2023 Cshoo Org. All Rights Reserved.
 */

package org.cshoo.tattoo.datacenter.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author 杨翼
 * @since 1.0
 */
@ApiModel(value = "添加i18n message项请求模型")
@Data
public class AddMessageItemReq {

    @NotBlank(message = "lang is required")
    @ApiModelProperty(value = "语言", required = true)
    private String lang;

    @NotBlank(message = "messageId is required")
    @ApiModelProperty(value = "message id", required = true)
    private Long messageId;

    @NotBlank(message = "content is required")
    @ApiModelProperty(value = "内容", required = true)
    private String content;
}
